package bairui.international.controller.personnel.department;

import com.sh_lianjing.spring.web.controller.enhance.module.*;
import com.sh_lianjing.spring.web.controller.enhance.module.body.*;
import com.sh_lianjing.spring.web.controller.enhance.output.bean.*;
import bairui.international.controller.personnel.department.C_Personnel_Department_Tree;
import bairui.international.controller.personnel.department.C_Personnel_Department_AddAccess;
import bairui.international.controller.personnel.department.C_Personnel_Department_DetailAccess;
import bairui.international.controller.personnel.department.C_Personnel_Department_EditAccess;
import bairui.international.controller.personnel.department.C_Personnel_Department_Delete;

/**
 *
 * Module_Tree
 *
 */
class Module_Tree{

	/**
	 * 树模块
	 */
	public Module module(
		C_Personnel_Department_Tree.Tree.Operate c_Personnel_Department_Tree_Tree_Operate
	,	C_Personnel_Department_AddAccess.AddAccess.Operate c_Personnel_Department_AddAccess_AddAccess_Operate
	,	C_Personnel_Department_DetailAccess.DetailAccess.Operate c_Personnel_Department_DetailAccess_DetailAccess_Operate
	,	C_Personnel_Department_EditAccess.EditAccess.Operate c_Personnel_Department_EditAccess_EditAccess_Operate
	,	C_Personnel_Department_Delete.Delete.Operate c_Personnel_Department_Delete_Delete_Operate
	){
		return
			new Module(
					new ModuleHead("列表树")
					, 
					new TreeModuleBody(
							"树", 
							Tree_OutputInfo.outputInfo(),
							c_Personnel_Department_Tree_Tree_Operate
						)
						.addTreeOperate(
							c_Personnel_Department_AddAccess_AddAccess_Operate
								.defaultComment("添加")
							
						)
						.addTreeOperate(
							c_Personnel_Department_EditAccess_EditAccess_Operate
								.defaultComment("编辑")
							
						)
						.addTreeOperate(
							c_Personnel_Department_Delete_Delete_Operate
								.defaultComment("删除")
							
						)
						.addEmbedOperate(
								c_Personnel_Department_DetailAccess_DetailAccess_Operate
									.defaultComment("详情")
								
							)
				);
	}
	
	/**
	 * 输出模型
	 */
	

}
